import Vue from 'vue'
import Vuex from 'vuex'
import user from "@/store/modules/user";

import getters from "@/store/getters";

Vue.use(Vuex)

const store = new Vuex.Store({
  modules: {
    //将数据模块化分类
    user
  },
  getters
})
export default store
